package com.example.gatewayserver.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * @author tianshuo
 */
@FeignClient(value = "oauth2-server", contextId = "oauth2")
public interface Oauth2ServerFeign {

    @GetMapping("/oauth/token_key")
    public Map<String,String> tokenKey();
}
